package com.sbpm.crmbpm.server.dao;

import com.sbpm.crmbpm.server.exceptions.ObjectNotFoundException;
import com.sbpm.crmbpm.shared.data.organisation.Role;
import com.sbpm.crmbpm.shared.data.organisation.User;

import java.util.List;

public interface UserDao
{
    List<Role> getRolesForUser( String userId );
    User findActiveUserById( String id ) throws ObjectNotFoundException;
    Role findRoleById( String id ) throws ObjectNotFoundException;
}
